package ioc;

/**
 * @program: spring-demo1
 * @author: JCM
 * @create: 2023-02-20 21:33
 * @description:
 **/
public class Framework {
    private Bottom bottom;
    public Framework(Bottom bottom) {
        this.bottom = bottom;
    }
    public void init() {
        System.out.println("执行了 framework 的 init 方法");
        bottom.init();
    }
}
